package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("base_store_location")
public class BaseStoreLocationEntity implements Serializable {
    @ApiModelProperty("库位Id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("库位编号")
    private String storeLocationCode;

    @ApiModelProperty("所属仓库Id")
    private Integer storeId;

    @ApiModelProperty("所属仓库名称")
    @TableField(exist = false)
    private String storeName;

    @ApiModelProperty("库位名称")
    private String storeLocationName;

    @ApiModelProperty("库位类型")
    private String storeLocationType;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private Integer createBy;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("修改人")
    private Integer modifyBy;

    @ApiModelProperty("0:禁用 1:正常")
    private Integer status;

    @ApiModelProperty("0:默认 1:正常")
    private Integer defaultLocation;
}